import { Injectable } from '@nestjs/common';
import { createHash } from 'crypto';

@Injectable()
export class InternalTools {
  getSecretKey(data: string) {
    return createHash('md5').update(data).digest('hex');
  }
}
